<style>
th{vertical-align:top;}
</style>
{% if server %}
<h1>Server Status: {{ server.get_status }}</h1>
<h2>Clients</h2>
{% with server.get_workers as map %}
<ul>
{% for k, v in map.items %}
<li> {{ k }} - {{ v }}
{% endfor %}
{% endwith %}
</ul>
<form method="POST">
{% csrf_token %}
<table>
{{form.as_table}}
</table>
<input type=submit value="setup job"/>
</form>
{% else %}
no connection
{% endif %}
